import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import user from './modules/user'
import layout from './modules/layout'
import music from './modules/music'
import play from './modules/play'
import comment from './modules/comment'
Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    user,
    layout,
    music,
    play,
    comment
  },
  getters
})

export default store
